package com.ruoyi.system.enums;

/**
 * yes or no
 */
public enum YesOrNoEnum {
    YES("YES","yes"),
    NO("NO","no");

    private String code;

    private String desc;

    YesOrNoEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
